var exec = require('cordova/exec');

exports.coolMethod = function(arg0, success, error) {
    exec(success, error, "cordova-plugin-image-process", "coolMethod", [arg0]);
};
exports.openCamera = function (savedFilePath, success, error) {
    exec(success, error, "cordova-plugin-image-process", "openCamera", [arg0]);
};
exports.openAlbum = function (savedFilePath, success, error) {
    exec(success, error, "cordova-plugin-image-process", "openAlbum", [arg0]);
};
exports.openCrop = function (savedFilePath,selectedFilePath, success, error) {
    exec(success, error, "cordova-plugin-image-process", "openCrop", [savedFilePath,selectedFilePath]);
};
